package com.dduggs.note.others;

/**
 * 静态代码块、非静态代码块、构造代码执行顺序
 * Created by CJS on 2017/7/6.
 */
public class Father {

    private static Father test= new Father();
    static{
        System.out.println("父---静态代码块");
    }
    public Father(){
        System.out.println("父---构造函数");
    }
    {
        System.out.println("父---非静态代码块");
    }

    public static void main(String[] args) {

        Son t=new Son();
    }
}
